package com.jz.mapper;

import com.jz.model.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by WISE on 2021/12/23.
 */

@Mapper
public interface TestMapper {
@Select("select * from user where id = #{id}")
    List<UserVo> queryUserAll(Integer id);

    List<UserVo> queryUserByIds(@Param("idList") List<Integer> idList);
}
